(function() {
    'use strict';

    angular
        .module('OnlineCashierdesk')
        .config(routerConfig);

    /** @ngInject */
    function routerConfig($stateProvider, $urlRouterProvider) {
        var cpUrl = 'app/pages/';

        cashierdeskRoute();         //收银台路由

        //收银台路由
        function cashierdeskRoute() {
            $stateProvider.state('cashierdesk',{
                url: '/cashierdesk',
                templateUrl:cpUrl + '/cashierdeskCenter/cashierdeskCenter.html',
                controller:'CashierdeskController as vm'
            })
        }
        $urlRouterProvider.otherwise('/cashierdesk');
    }

})();
